﻿using System;
using CQRS.Reports;

namespace CQRS.Sample.Domain.ReportDtos
{
    public class PlaneCrashReport : Report
    {
        public PlaneCrashReport(Guid id, string location, long aboard, long fatalities, string route, DateTime crashDate)
            : base(id)
        {
            Location = location;
            Aboard = aboard;
            Fatalities = fatalities;
            Route = route;
            CrashDate = crashDate;
        }

        public string Location { get; set; }
        public long Aboard { get; set; }
        public long Fatalities { get; set; }
        public string Route { get; set; }
        public DateTime CrashDate { get; set; }
    }
}